package jp.co.tms.internal.task;

import jp.co.tms.internal.data.IOriginalServer;
import jp.co.tms.internal.data.IRunServer;


public class RunTask extends Task implements IRunTask {
	
	private int priority;
	
	private String command;
	
	private IOriginalServer originalServer;
	
	private IRunServer runServer;
	
	private int status;

	public RunTask(int id, int priority, String command) {
		super(id);
		this.priority = priority;
		this.command = command;
	}
	
	public int getPriority() {
		return priority;
	}

	public void setPriority(int priority) {
		this.priority = priority;
	}

	public String getCommand() {
		return command;
	}

	public void setCommand(String command) {
		this.command = command;
	}

	public IOriginalServer getOriginalServer() {
		return originalServer;
	}

	public void setOriginalServer(IOriginalServer originalServer) {
		this.originalServer = originalServer;
	}

	public IRunServer getRunServer() {
		return runServer;
	}

	public void setRunServer(IRunServer runServer) {
		this.runServer = runServer;
	}
	
	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}
}
